<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title><h:outputText value="#{index.constant.siteName}" /></title>
</h:head>

<h:body>
<table border="1">
	<tr>
		<td><h:commandButton type="submit" actionListener="#{cacheInfo.clearCache}"></h:commandButton></td>
	</tr>
	<tr>
		<td>方法</td>
		<td>描述</td>
		<td>value</td>
	</tr>
	<tr>
		<td>getBytesReturnedForHits()</td>
		<td>成功的 get() 和 contains() 中键和值字节的总数。</td>
		<td>#{cacheInfo.stats.bytesReturnedForHits }Byte | #{cacheInfo.stats.bytesReturnedForHits/1024}KB</td>
	</tr>
	<tr>
		<td>getHitCount()</td>
		<td>“成功的”MemcacheService.get(Object) 或
		MemcacheService.contains(Object) 操作的计数器。</td>
		<td>#{cacheInfo.stats.hitCount }</td>
	</tr>
	<tr>
		<td>getMissCount()</td>
		<td>“不成功的”MemcacheService.get(Object) 或
		MemcacheService.contains(Object) 操作的计数器。</td>
		<td>#{cacheInfo.stats.missCount }</td>
	</tr>
	<tr>
		<td>getItemCount()</td>
		<td>缓存中当前“活动”条目的数目。</td>
		<td>#{cacheInfo.stats.itemCount }</td>
	</tr>
	<tr>
		<td>getMaxTimeWithoutAccess()</td>
		<td>距离对最近最少使用的活动条目的上一次访问的毫秒数。</td>
		<td>#{cacheInfo.stats.maxTimeWithoutAccess}</td>
	</tr>
	<tr>
		<td>getTotalItemBytes() </td>
		<td>   缓存中所有当前活动条目的键和值大小的总数。</td>
		<td>#{cacheInfo.stats.totalItemBytes}Byte|#{cacheInfo.stats.totalItemBytes/1024}KB</td>
	</tr>
</table>
</h:body>
</html>